]> dgit.raspbian.org Git - gnome-shell.git/commit
Fix hang when clicking on the user status menu in the overview
authorOwen W. Taylor <otaylor@fishsoup.net>
Fri, 28 Aug 2009 15:27:39 +0000 (11:27 -0400)
committerOwen W. Taylor <otaylor@fishsoup.net>
Fri, 28 Aug 2009 16:34:04 +0000 (12:34 -0400)
commit1340413740c44d1568d8ebe0413ea9ebcd009dfb
tree3e787da3057e4fbf7705d2aaca89229944c7be01
parent3adec65e2002f4adb67a55861843a71c39e05af3
Fix hang when clicking on the user status menu in the overview

shell-global.[ch]: Add shell_global_display_is_grabbed() that
  uses the newly added meta_display_get_grab_op() to check
  for existing grabs.
shell-status-menu.[ch]: Add shell_status_menu_is_active() to
  check if the menu is popped up. Check for active grabs before
  popping the menu up. Use gtk_menu_popdown() rather than
  gtk_widget_hide(). Remove an excess gtk_widget_show() and
  some excess casts.
panel.js: Check whether the status menu is popped up after button
  release, and if it's not popped up, unhighlight the button.

Reported by Nuno Donato
http://bugzilla.gnome.org/show_bug.cgi?id=593362
js/ui/panel.js
src/shell-global.c
src/shell-global.h
src/shell-status-menu.c
src/shell-status-menu.h